<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>DriveSpaceFree</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
<script src="../static/content.js" type="text/javascript"></script>
</head>
<body>

<h1>DriveSpaceFree</h1>

<p>Retrieves the free disk space of a drive, in Megabytes.</p>

<pre class="Syntax">DriveSpaceFree, OutputVar, Path</pre>
<h3>Parameters</h3>
<dl>

  <dt>OutputVar</dt>
  <dd><p>The variable in which to store the result, which is rounded down to the nearest whole number.</p></dd>

  <dt>path</dt>
  <dd><p>Path of drive to receive information from. Since NTFS supports mounted volumes and directory junctions, different amounts of free space might be available in different folders of the same &quot;drive&quot; in some cases.</p></dd>

</dl>

<h3>Remarks</h3>
<p>OutputVar is set to the amount of free disk space in Megabytes (rounded down to the nearest Megabyte).</p>
<h3>Related</h3>
<p><a href="Drive.htm">Drive</a>, <a href="DriveGet.htm">DriveGet</a></p>
<h3>Example</h3>
<pre class="NoIndent">DriveSpaceFree, FreeSpace, c:\</pre>

</body>
</html>
